EFI: add architecture functions for pre/post ExitBootServices
authorRoy Franz <roy.franz@linaro.org>
Thu, 25 Sep 2014 12:27:55 +0000 (14:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Sep 2014 12:27:55 +0000 (14:27 +0200)
commit236502c1102ac95532683c83ef4defff6c5bda4e
treec1d830a8020c9fa7c4f3189beb53966b63c8562d
parentd9c3e9f9b3a297af6ff3c5c22f36b621012d3ba4
EFI: add architecture functions for pre/post ExitBootServices

The UEFI ExitBootServices function is invoked to transition the
system to the 'runtime' mode of operation, and is done right before
transitioning from the EFI loader code into Xen proper. x86 does some
arch specific memory management (trampoline) before exit boot services,
and the code that transitions from the EFI application state to Xen
is architecture specific.  This patch adds two functions, one pre
and one post ExitBootServices to allow each architecture to
to handle these cases in a customized manner.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/efi-boot.h
xen/common/efi/boot.c